package Model;

// FeverLevel.java
public enum FeverLevel {
    NORMAL, LOW_GRADE, HIGH;

    public static FeverLevel fromTemperature(Double temp) {
        if (temp == null) return null;
        if (temp < 37.3) return NORMAL;
        if (temp < 38.0) return LOW_GRADE;
        return HIGH;
    }
}